// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_ACCOUNTS_PAYABLE_ITEM
// * CreateDate    : 2014-06-05 18:29:45
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:45
// * LastChanger   : 2014-06-05 18:29:45
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinAccountsPayableItemTable : TableInfo
    {
		public const string C_TableName = "FIN_ACCOUNTS_PAYABLE_ITEM";
		
		public const string C_ITEM_ID = "ITEM_ID";
		public const string C_PAYABLE_ORDER_ID = "PAYABLE_ORDER_ID";
		public const string C_IMPORT_ITEM_ID = "IMPORT_ITEM_ID";
		public const string C_INVOICE_QTY = "INVOICE_QTY";
		public const string C_INVOICE_PRICE = "INVOICE_PRICE";
		public const string C_REMARK = "REMARK";
		public const string C_LastEditDate = "LastEditDate";
		public const string C_CreationDate = "CreationDate";
		
		public FinAccountsPayableItemTable()
        {
            _tableName = "FIN_ACCOUNTS_PAYABLE_ITEM";
        }
		
		protected static FinAccountsPayableItemTable _current;
        public static FinAccountsPayableItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinAccountsPayableItemTable();

            _current.Add(C_ITEM_ID, new ColumnInfo(C_ITEM_ID,"ItemId", true, typeof(string)));
            _current.Add(C_PAYABLE_ORDER_ID, new ColumnInfo(C_PAYABLE_ORDER_ID,"PayableOrderId", false, typeof(string)));
            _current.Add(C_IMPORT_ITEM_ID, new ColumnInfo(C_IMPORT_ITEM_ID,"ImportItemId", false, typeof(string)));
            _current.Add(C_INVOICE_QTY, new ColumnInfo(C_INVOICE_QTY,"InvoiceQty", false, typeof(decimal)));
            _current.Add(C_INVOICE_PRICE, new ColumnInfo(C_INVOICE_PRICE,"InvoicePrice", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_LastEditDate, new ColumnInfo(C_LastEditDate,"Lasteditdate", false, typeof(DateTime)));
            _current.Add(C_CreationDate, new ColumnInfo(C_CreationDate,"Creationdate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo ITEM_ID
        {
            get { return this[C_ITEM_ID]; }
        }
		
		public ColumnInfo PAYABLE_ORDER_ID
        {
            get { return this[C_PAYABLE_ORDER_ID]; }
        }
		
		public ColumnInfo IMPORT_ITEM_ID
        {
            get { return this[C_IMPORT_ITEM_ID]; }
        }
		
		public ColumnInfo INVOICE_QTY
        {
            get { return this[C_INVOICE_QTY]; }
        }
		
		public ColumnInfo INVOICE_PRICE
        {
            get { return this[C_INVOICE_PRICE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo LastEditDate
        {
            get { return this[C_LastEditDate]; }
        }
		
		public ColumnInfo CreationDate
        {
            get { return this[C_CreationDate]; }
        }
		
		
		
	}
}

